package com.lk.mall.mapper;

import com.lk.mall.model.entity.GoodsInfo;
import com.lk.mall.model.entity.IndexConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lk.mall.util.PageQueryUtil;

import java.util.List;

/**
 * @author lak
 * @since 2022-08-31
 */
public interface IndexConfigMapper extends BaseMapper<IndexConfig> {

    //获取首页配置-商品信息


    //List<IndexConfig> findIndexConfigList(PageQueryUtil pageQueryUtil);

    int getTotalIndexConfigs(PageQueryUtil pageQueryUtil);

    List<IndexConfig> getConfigGoods(int type, int number);
}
